package com.kexio.enterprise.observability.tracing.domain;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * Span日志
 * 
 * @author Kexio
 * @since 1.0.0
 */
public class SpanLog {
    private LocalDateTime timestamp;
    private Map<String, Object> fields;

    public SpanLog() {}

    public SpanLog(LocalDateTime timestamp, Map<String, Object> fields) {
        this.timestamp = timestamp;
        this.fields = fields;
    }

    public LocalDateTime getTimestamp() { return timestamp; }
    public void setTimestamp(LocalDateTime timestamp) { this.timestamp = timestamp; }
    
    public Map<String, Object> getFields() { return fields; }
    public void setFields(Map<String, Object> fields) { this.fields = fields; }
}
